﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CalendarUC.ascx.cs" Inherits="Kontrolki.CalendarUC" %>

<script type="text/javascript">
    function doAJAXPostBack(event) {
        var prm = Sys.WebForms.PageRequestManager.getInstance();
        prm._doPostBack("UpdatePanel1", event);
        return false;
    }
</script>
<style>
    .month {
        border-bottom: 1px solid gray;
        border-right: 1px solid gray;
        border-spacing: 0;
        margin: 0px;
        padding: 0px;
    }

        .month th {
            background-color: #6a6a6a;
            color: white;
            font-weight: normal;
            border-left: 1px solid #6a6a6a;
            border-top: 1px solid #6a6a6a;
            padding-left: 2px;
            padding-right: 2px;
        }

            .month th .headermonth {
                font-weight: bold;
                background-color: #444444;
            }

        .month td {
            border-left: 1px solid gray;
            border-top: 1px solid gray;
            text-align: center;
            padding: 0px;
            width: 25px;
        }

            .month td a {
                text-decoration: none;
                display: block;
                width: 100%;
                color: black;
            }

                .month td a:hover {
                    background-color: mistyrose;
                    font-weight: bold;
                }

    .selected {
        background-color: salmon;
    }


    .none {
        background-color: #eee;
    }


    .empty {
        color: lightgray;
        background-color: white;
    }

    .holiday {
        background-color: #ccc;
    }
</style>
<div>

    
            <asp:Literal ID="ltl" runat="server" EnableViewState="false"></asp:Literal>
     
</div>
<asp:HiddenField ID="hdSelected" runat="server" Value="|" />
<asp:HiddenField ID="hdHolidays" runat="server" Value="|" />
<asp:Label ID="lblInfo" runat="server" Text="" ForeColor="YellowGreen" Font-Size="Larger"></asp:Label>